{config_load file="$language/lang.conf" section="create_account"}

{$FORM_ACTION}
{if $error!=''}
<div class="notification error br6 png_bg">
	<a href="#" class="close">close</a>
	<div>{$error}</div>
</div>
{/if}

<div class="content-block">
	<div class="gray-title-top">
		<div class="b-left"></div>
			<span class="bold tsb">{#heading_create_account#}</span>
		<div class="b-right"></div>
	</div>
	<div class="con-cen">
		<div class="content-text">
			<div class="notification information br6 png_bg">
				<a href="#" class="close">close</a>
				<div>{#text_must#}</div>
			</div>
			<fieldset>

				{if $gender=='1'}
				<label class="label" for="gender" title="{$ENTRY_GENDER_ERROR}">{#text_gender#}</label>
				<div class="textbox2">{$INPUT_MALE}{$INPUT_FEMALE}</div>
				{/if}
				<label class="label" for="firstname" title="{$ENTRY_FIRST_NAME_ERROR}">{#text_firstname#}</label>
				<div class="textbox">{$INPUT_FIRSTNAME}</div>
				{if $secondname=='1'}
				<label class="label">{#text_secondname#}</label>
				<div class="textbox">{$INPUT_SECONDNAME}</div>
				{/if}
				<label class="label" for="lastname" title="{$ENTRY_LAST_NAME_ERROR}">{#text_lastname#}</label>
				<div class="textbox">{$INPUT_LASTNAME}</div>
				{if $birthdate=='1'}
				<label class="label" for="dob" title="{$ENTRY_DATE_OF_BIRTH_ERROR}">{#text_birthdate#}</label>
				<div class="textbox">{$INPUT_DOB}</div>
				{/if}
				<label class="label" for="email" title="{$ENTRY_EMAIL_ADDRESS_ERROR}">{#text_email#}</label>
				<div class="textbox">{$INPUT_EMAIL}</div>
				{if $company=='1'}
				<label class="label">{#text_company#}</label>
				<div class="textbox">{$INPUT_COMPANY}</div>
				{if $vat=='1'}
				<label class="label" for="password_current" title="{$ENTRY_PASSWORD_CURRENT_ERROR}">{#text_ustid#}</label>
				<div class="textbox">{$INPUT_VAT}</div>
				{/if}
				{/if}
				{if $street_address=='1'}
				<label class="label" for="address" title="{$ENTRY_STREET_ADDRESS_ERROR}">{#text_street#}</label>
				<div class="textbox">{$INPUT_STREET}</div>
				{/if}
				{if $suburb=='1'}
				<label class="label">{#text_suburb#}</label>
				<div class="textbox">{$INPUT_SUBURB}</div>
				{/if}
				{if $postcode=='1'}
				<label class="label" for="postcode" title="{$ENTRY_POST_CODE_ERROR}">{#text_code#}</label>
				<div class="textbox">{$INPUT_CODE}</div>
				{/if}
				{if $city=='1'}
				<label class="label" for="city" title="{$ENTRY_CITY_ERROR}">{#text_city#}</label>
				<div class="textbox">{$INPUT_CITY}</div>
				{/if}
				{if $state=='1'}
				<label class="label" for="state" title="{$ENTRY_STATE_ERROR_SELECT}">{#text_state#}</label>
				<div class="textbox"><span id="stateXML">{$INPUT_STATE}</span></div>
				{/if}
				{if $country=='1'}
				<label class="label" for="country" title="{$ENTRY_COUNTRY_ERROR}">{#text_country#}</label>
				<div class="textbox">{$SELECT_COUNTRY}{$SELECT_COUNTRY_NOSCRIPT}</div>
				{/if}
				{if $telephone=='1'}
				<label class="label" for="telephone" title="{$ENTRY_TELEPHONE_NUMBER_ERROR}">{#text_tel#}</label>
				<div class="textbox">{$INPUT_TEL}</div>
				{/if}
				{if $fax=='1'}
				<label class="label">{#text_fax#}</label>
				<div class="textbox">{$INPUT_FAX}</div>
				{/if}
				{if $INPUT_CUSTOMERS_EXTRA_FIELDS}
					{foreach item=customers_extra_filelds from=$INPUT_CUSTOMERS_EXTRA_FIELDS}
						<label class="label">{$customers_extra_filelds.NAME}:</label>
						<div class="textbox">{$customers_extra_filelds.VALUE}</div>
					{/foreach}
				{/if}
			</fieldset>
			<div class="clear"></div>
			<div class="content-foo-menu">
				<span class="fr frt">{$BUTTON_SUBMIT}</span>
				<div class="clear"></div>
			</div>
		</div>
	</div>
	<div class="con-foo"><div class="sb-left"></div><div class="sb-right"></div></div>
</div>
{$FORM_END}